home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.arexx / comp.sys.amiga.programmer_30932_000002.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  1.3 KB  |  47 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: cs.chalmers.se!news.chalmers.se!sunic!ericom!etxsvkl
  3. From: etxsvkl@garbo.ericsson.se (Svante Kleist)
  4. Subject: Re: How to set stack for a shell command in REXX?
  5. Message-ID: <etxsvkl.737818750@garboa03>
  6. Sender: news@ericsson.se
  7. Nntp-Posting-Host: garboa03.ericsson.se
  8. Organization: Ericsson
  9. References: <1tb7tdINNjs6@news.u.washington.edu> <1993May19.113041.10140@daimi.aau.dk>
  10. Date: Wed, 19 May 1993 13:39:10 GMT
  11.  
  12. u920496@daimi.aau.dk (Hans Erik Martino Hansen) writes:
  13.  
  14. >maji@carson.u.washington.edu (Ji Ma) writes:
  15.  
  16. >>I had one program which needs 30000byte of stack and I want to call
  17. >>the program from inside rexx micro.  But following code does not
  18. >>work.
  19. >>
  20. >>address command
  21. >>'stack 30000'
  22. >>'run stackmonster'
  23. >>
  24. >>Is there a way to get around it?  Thanks in advance.
  25. >>
  26. >>Maji
  27.  
  28. >Try look at the Pragma command
  29.  
  30.     Or you could force the two shell commands to execute in the same
  31.     shell instance by merging them, separated by a line-feed character:
  32.  
  33.         lf = '0a'x    /* or is it 0d ?? */
  34.  
  35.         cmd1 = 'stack 30000'
  36.         cmd2 = 'run stackmonster'
  37.  
  38.         cmd  = cmd1 lf cmd2
  39.  
  40.         address 'COMMAND' cmd
  41.  
  42.     /Svante
  43. --
  44. -- 
  45. Svante Kleist (etxsvkl@garbo.ericsson.se)
  46.  
  47. Ericsson Telecom AB, Systems and Software - Design Support.